#include <iostream>

class Base
{
public:
    virtual void test()
    {
        std::cout << "hello" << std::endl;
    }
};
class BaseChild : public Base
{
public:
    void test() override
    {
        std::cout << "hello" << std::endl;
    }
};

class BaseChild1 : public BaseChild
{
public:
    void test()
    {
        std::cout << "hello" << std::endl;
    }
};
int main()
{
    return 0;
}
